%%%-------------------------------------------------------------------
%% @doc mqeg main public API
%% @end
%%%-------------------------------------------------------------------
-module(mqeg).
-export([start/0, stop/0]).

start() ->
    ok = amqp_client:start(),
    {ok, _} = application:ensure_all_started(cowboy),
    {ok, _} = application:ensure_all_started(mqeg),
    ok.

stop() ->
    application:stop(cowboy),
    application:stop(mqeg),
    init:stop(),
    ok.

%% internal functions
